define [
	'jquery'
], ($) ->
	init : ->
		navbar = $('.navbar')
		$('.dropdown',navbar).has('a.selected').addClass('active')
		$('a.selected',navbar).removeAttr('href')
		$('a.dropdown-toggle[href]',navbar).on('click',->window.location.href = this.href)
		$('#slider,.jumbotron,.marketing,.contact,#MainContent_Panel1,.form-signin,footer').each((i,e)->
			setTimeout(( -> $(e).fadeIn(500)),i*200)
		)
		$('#MainContent_Panel1').on('click','.table > tbody > tr:last-child a', ->
			$('.animated-hide').removeClass('animated-hide')
		)
